package com.giao.vo;

import com.giao.pojo.ContractC;
import com.giao.pojo.ExtCproductC;
import com.giao.pojo.FactoryC;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContractProductVo {
    private int contractProductId;
    private ContractC contractC;//将复杂的关联关系变成单表操作
    private List<ExtCproductC> extCproductCS;//和附件一对多
    private FactoryC factoryC;//和生产厂家多对一
    private String productNo;
    private String productImage;
    private String productDesc;
    private Integer cnumber;
    private Integer outNumber;
    private String loadingRate;            //装率
    private Integer boxNum;                //箱数
    private String packingUnit;            //包装单位
    private Double price;
    private Double amount;
    private Integer finished;
    private String exts;
    private Integer orderNo;
}
